package org.wedding.center.entity;

import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * 金额返现表(CashBackInfo)实体类
 *
 * @author songkaiyue
 * @since 2025-05-20 16:37:39
 */
@TableName(value = "cash_back_info")
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class CashBackInfo implements Serializable {
    private static final long serialVersionUID = 1L;
    
    /**
     * 唯一标识
     */
    @Schema(description = "唯一标识")
    @TableId(type = IdType.ASSIGN_ID)
    private String id;

     /**
     * 用户id
     */
    @Schema(description = "用户id")
    @TableField(value = "user_id")
    private String userId;

     /**
     * 用户名称
     */
    @Schema(description = "用户名称")
    @TableField(value = "user_name")
    private String userName;

     /**
     * 返现比例
     */
    @Schema(description = "返现比例")
    @TableField(value = "cash_back")
    private String cashBack;


     /**
     * 区间开始人数
     */
    @Schema(description = "区间开始人数")
    @TableField(value = "start_num")
    private Integer startNum;


     /**
     * 区间结束人数
     */
    @Schema(description = "区间结束人数")
    @TableField(value = "end_num")
    private Integer endNum;
    

     /**
     * 创建时间
     */
    @Schema(description = "创建时间")
    @TableField(value = "create_time")
    private String createTime;
    

     /**
     * 修改时间
     */
    @Schema(description = "修改时间")
    @TableField(value = "update_time")
    private String updateTime;
    

     /**
     * 删除标识
     */
    @Schema(description = "删除标识")
    @TableField(value = "del_flag")
    private String delFlag;
    


}

